package com.polaris.server.service;

import com.polaris.server.dto.JobQueryParam;
import com.polaris.server.pojo.SysJob;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 * 岗位 服务类
 * </p>
 *
 * @author polaris
 * @since 2021-05-19
 */
public interface ISysJobService extends IService<SysJob> {

    /**
     * 获取所有的职位
     * @return
     */
    List<SysJob> queryAll();

    /**
     * 通过id更新职位信息
     * @param id
     * @param queryParam
     * @return
     */
    SysJob updateJob(Long id, JobQueryParam queryParam, HttpServletRequest request);
}
